<template>


            <table class="table table-brodered">

                    <tr>
      <th>         
              <select>
        <option :value="-1">--请选择---</option>
        <option  v-for="item in Member " :value="item.MR_Id">{{ item.MR_Name }}</option>
                    </select>
                    </th>
                    </tr>
 
                    <tr>
                        <th>               <select>
        <option :value="-1">--请选择---</option>
        <option :value="-1">--请选择---</option>
                    </select>
                    </th>
                    </tr>
 
                    <tr>
                        <th>              

                  <button > 添加</button>
                    </th>
                    </tr>
 

 </table>



</template>
<script>

import axios from 'axios';
import {onMounted, ref} from 'vue';

onMounted(()=>{
    XiaLa1();
    XiaLa2();
})


const Member =ref([{
    MR_Id: 1,
    MR_Name: "早餐",
    MR_Info: "string",
    MR_IsCustion: "string",
    MR_RuleType: 2,
    MR_Rule: "string"

}])

const XiaLa1 =()=>{

    axios.get('https://localhost:7035/api/Member/ShowMe?Type1=0').then(res=>{
        
        ref.value=res.data
    }).catch(error=>{
            console.log(error)

    })

}






</script>